<?php include "../../coresection/connection.php";?>
<?php include "../../coresection/checkSession.php";?>
<?php include "../../coresection/admin-product.php";?>
<?php include "../../coresection/order-list.php";?>
<?php include "detail-list-function.php";?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <?php include '../../modules/head.php'; ?>
    <?//js日期控件?>
    <script src="/application/laydate/laydate.js"></script>
</head>

<body>
<?php include '../../modules/topbar.php'; ?>


<div class="setup_area">


    <?php include '../../modules/sidebar-admin.php'; ?>

    <div class="header">
        <h1>收支信息</h1>

        <?php include '../../modules/header.php'; ?>

    </div>


    <div class="content_area dishes_box">



<form id="add-member-form" method="post" action="detail-add-function.php?nav-itemed=finance" enctype="multipart/form-data" class="layui-form">


    <div class="layui-form-item">
        <label class="layui-form-label">项目内容 <span>*</span> </label>
        <div class="layui-input-block">
            <input type="text" name="name" lay-verify="required" placeholder="请输入内容" autocomplete="off" class="layui-input" value="">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">金额 <span>*</span></label>
        <div class="layui-input-block">
            <input type="text" name="cost" lay-verify="required" placeholder="请输入金额" autocomplete="on" class="layui-input" value="">
        </div>
    </div>



    <div class="layui-form-item">
        <label class="layui-form-label">日期 <span>*</span></label>
        <div class="layui-input-block">
            <input type="text" name="applydate" id="date" autocomplete="off" class="layui-input"  value="<?echo date("Y-m-d H:i:s")?>" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})" class="laydate-icon">
        </div>
    </div>



<?
if(($_SESSION['quanxian']=="caiwu") || ($_SESSION['quanxian']=="admin")) { ?>
    <div class="layui-form-item">
        <label class="layui-form-label">状态 <span>*</span></label>

        <div class="layui-input-block">
            <input type="radio" name="status" value="待审核" title="待审核"  >
            <input type="radio" name="status" value="生效" title="生效" checked>
        </div>
    </div>
    <?
}
else
{?>

    <input name="status" type="hidden" value="待审核"/>

<? }?>




    <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea name="remark" placeholder="备注" class="layui-textarea">  </textarea>
            </div>
        </div>











        <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="formMemberAdd" type="submit">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>


 
 
        </div>
		
 
 
<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>








<?php include '../../modules/footer.php'; ?>
</body>
</html>
